Added enum for current dimension