basic layout
very primitive calculations