added helper methods to shorten add method