initial rational class working