get logic kinda working