added temperature check