Adapted for f18