work on write profile