Revert to ebd709f
Comments for function added