Added classDemo code