immplemented some of the enhancements Alice showed in class