renamed variables
added usage example