added level stuff