styling
reworked the api a bit