much nicer
move scale out into it's own file
update example