added code for parsing tweets