added function to check latest answer