declare variable before using