friend neednot to be declare before