add datear functionality and home first iteration