Added glga function.