Added pass functionality on back-end