Added a couple simple helper methods