some more functions. is actually not working because of some ajax error
with null arguments