Added local variable initialisation