added topdown saving