case added for f1 and f2