Added code to contains