write correct dirac function to main file
logic complete