common functions
prob 1-6