added setup functions
plz wurk
init functions added