Small update to code