Added high-level functions