added trialosmap to sample code file