Added grow and reorganized some functions