implemented grow method