int and float output seems working