small changes to beginning