further replacing code where marker utility functions can be called instead.