added afloat method