testing with simulator