Added function gsb