first try at doing inline code correctly