edited sample usage