Added error message if wrong parameters provided