some work on checkDisplay api