added timestamp fixed typo

added time stamp code and fixed typo in total_shares