move presentation functions to .rs. namespace