fixed helper method