Added multiple helper functions