added rounding
ghosted first assignment out