Changed setup for debugging and added format