some beshell stuff