trying to use prewritten library