adding gui and playing with magic numbers