Added previous code