Yay just got function pointer working