function declarations --> more portable