deleted cursor stuff and tried to add paste but not worth