added prototype fbook function