adding support for |g guage syntax