some testing functnos