Trivial implemenetation, pass 6/28 test cases