working on supporting socket actions