Added error on wrong arguments