add prepare methods
task 1.3 done