one does not simply glue code together

one uses duct tape
Merge pull request #5 from Lusitanian/patch-1

one does not simply glue code together