better api

shit