tweaking api setters and getters