made methods static which are passed to c
implemented connector methods