updated code - missing ;