adding aliases for backward compatibility
remove global variables