Intermediate version, passed test