added comments
using curry made at work