added init method to Up