added a skip paramter