can't figure out ex6...