first real scratches to implement the runtime