test code for fc pattern