added some method to support floating