removed imagesize adding due to not using it