added socket bind part