Added variable initialisation