clicklistener now fully functional. still should clean up a tad