try to write mock objects