Code for Vegas App