WORKING COPY!!!! V1.0: with updated GUI!