note to self: be more careful when copy pasta code