set up methods to write in fly later