applying Elgg coding standards