added convert to epoch