functioning frmo demo