add checks for prerequisites