Added constness to parameters