changed way of setting image resource