Still improving the function to get the tail of the read