Cleared logical errors. complies