overhauled and added PiFiller method