added time and direction. removed unused files