eugh this is bad -use an API fgs