cursor() and noCursor() inline example