using shell function to clean up commands code