added length property to work and length helpers