changing another warning message, making r for A4 ceiling function