made inline return functions GCSG compliant