moved functions from paper to paper manager