add performance checks