made many changes
working on resizing.