function shortcuts for easier programming