add separate function for each chroot method