Updated version with comments.
waplet