updated ui to actually work
standardized comments