Int, array and vector example working fine now