Created the helper methods