basic function and basic coding skeleton is done