made alter function
added a UI member for alerts (helpboxes) so that they can take input eventually