some initial work on runtime