converted duration to partial for it was getting annoying