before starting UI work