Remove duplicate implementation of keeptwotime