removed socket dependencies