Some improved code in execute a call to ga