removed all api related stuff