Resolved issue #31

Resolved the issue of passing three values "T", "B", or "G" to the
front-end.