removing key_compare from constructors