cleaned up documentation in constructor