built basic runtime glue logic