add performance check