create pathway functionality added