document constructor - fixes #196