new method to store types of processes