replay and some extra stuff