is done due to the following check