strings working fine but objects not working yet