Stored steps and images in array rather than individual functions