added some new helper methods