code integrated for the shift app