cleaned up code and added multiple comparison tests