adding functions for readability.