added type specific conversion (int, float and string)