Isn't there a better way to do this? ;_;