Working on PKM writer