added method to game elements