added performance check