Added alternate function