added basic use function