made movefocus and got rid of the individual functions