start on adding clock to intermediate language