numpy added
minor changes