added image and container checker. added in promise methods