like kinda working code