shortens some functions