c working from manual tests - no unit tests added yet