Modified Programmer logic and gui