Changed error code of missing arguements from 1 to 3