lab6 attempt