added compare to answer and got tests passing