cleanup and worked on sync method