updated convenienc functions