Declare variable before using it