check for needed packages