hw7 with BUGS!