Modified functions for usability.