Fixed issue - was missing employee pass through in function dec
.