added usage display when incorrect parameters passed