These codes are very similiar, so these should be merged while keeping their current performances.
Activity