added inline version of boilerplate