Better location for the previous code.