Moving around code to create a prototype to decouple lock screen