markup method exposed programmatically