casting class to non-const never feels right..