game mechanics update and helper methods added