some helper methods added