adding slotcreation to main files