changed seconds calc