fixed it to where it works, and added GUI