Refactored alia.g and redid syntax to match actual syntax used.