size works
working but uncommented
most comments added