working project finally!