database,diary layout,image traversing done