Local variables instead of struct ones