added generic use function. added david as user