added main function because it was missing