x paramater is now optional
adding of GUI in process