added helper method for 304