Successfully works getting checks from database.