p4 for GUI code only