cleaning up g hack