should declare before main()