added some metilation functions