cosmetics: using fmap instead of bind and return
cosmetics: renaming variable