splited heresy into reader and writer methods
applicated included hook