user: organize code