renamed input to sample