added commands for error checking