made a few alterations