Added cf helper method for better errors