helper methods..