work in sprite controller