Add book

check for ```isset``` before call array's element