added exists method to list