reimplemented most methods of StF