updated code for working on laptop