add exception for wrong arguments