//todo move to script