private void paySalary(String[] data){
		int salarySize;
		long id;
		GregorianCalendar date = null;
		try { 
			salarySize = Integer.parseInt(data[1]);
			id = Long.parseLong(data[2]);
			if(data.length == 4)
				date = parseDate(data[3]);
			Employee em = container.find(id);
			if(date == null){
				em.paySalary(salarySize);
			} else {
				em.paySalary(salarySize, date);
			}
		} catch(NumberFormatException e0){
			System.out.println("Illegal argument!");
		}
		catch(IllegalArgumentException e){
			System.out.println(e.getMessage());
			return;
		} catch(ClassCastException e){
			if(date == null)
				System.out.println("Invalid input! Check size of salary");
			else
				System.out.println("Invalid input! Check date");
			return;
		} catch(Exception e){
			System.out.println("Invalid command! Try to input command once more!");
			return;
		}
	}