foo
bar
tmp
add two cube implementations