implemented adding station function