adding schema methods