adding grid module and atm profiles functions