moved images initialisation in the constructor