it works as intended now