First version, just standard java template