adding in sample methods