stock purchase problem