finished up the get set schema functions. TODO test