A true fast is also of the heart and mind: to observed a true fast you do not entertain any thoughts or feelings which are harām.