clicking spin now calls the correct function