proper connection order
const correctness