assignment and testing