added helper functions that will work will with inch-socket-support