fixed code and added book link