Contains function complete