Refactoring for regularSip

Created global variables