Checkpoint! - Modifying code to directly call appropriate functions instead of using stack counter. Hopefully not a bad idea :)