starting work on writting data