fixing the functions
positioning hydra
adding grid.lua