updated various files for functionality.