moved socket structure & made cool function
got my priorities in order