changed return type of readPDB