Lab implementation using xblock