updated parameter from int to float for create VM