spacing
semi working structure
would like to use lambda functions, but this is the best that I can get cross compiling. Tight coupling but that is ok for this project for now