added copyright and working on floats (not working properly)