moved over to variable for filename