updated code, passed rspecs