added end minipage