started on collins code, added meta feature function, finished g