2nd assignment modified