added new lockscreen code