added take() and get() functions to pool; calling code much cleaner